import java.io.*;

public class StardardOut{
	public static void main(String[] args) throws IOExpection{
		try(PrintStream printStream = new PrintStream(
					new FileOutputStream(
					new FileOutputStream(args[0]))){
			System.setOut(printStream);
			Sysyem.out.println(HelloWorld);
					}
	}
}

